package com.simple.simple_view.domain.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_like_video")
public class UserLikeVideo {

    @TableId
    private Long id;

    //用户id
    private Long userId;
    //视频id
    private Long videoId;
    //点赞时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
